package com.zy.design.pattern.bridge;

/**
 * @author zhaoyi
 * @date 2021/6/15 19:07
 */
public class Test {

    public static void main(String[] args) {


        Circle circle = new Circle(new Large(), new Red());
        circle.draw();

        Circle c2 = new Circle(new Small(), new Red());
        c2.draw();

        Square square = new Square(new Large(), new Yellow());
        square.draw();


    }
}
